package com.zhai.cloud.home;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @package: com.zhai.cloud.home
 * @project-name: zhai-cloud
 * @description: 主页
 * @author: Created by 翟凤玺
 * @create-datetime: 2018/5/17 0017 19:02
 */
@SpringBootApplication(scanBasePackages = {"com.zhai.cloud"})
@EnableFeignClients(basePackages = "com.zhai.cloud")
@EnableEurekaClient
@EnableCircuitBreaker
@EnableDiscoveryClient
public class HomeApplication {

    public static void main(String[] args) {
        SpringApplication.run(HomeApplication.class, args);
    }
}
